package day06_OOP.test测试;

public class csw {
    private int age;
    public void  setage(int age){
        if (age>=0&&age<=120){
            this.age=age;
        }else {
            System.out.println("age有问题");
        }
    }
    public int getAge(){
        return age;
    }
}
